import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from "./router/index.js";
import { createPinia } from "pinia";
import { createSocketPlugin } from './plugins/socket'

const app = createApp(App)
app.use(router)
app.use(ElementPlus, {
    locale: zhCn,
})
app.use(createPinia())
app.use(createSocketPlugin())
app.mount('#app')
